package Text;

import java.util.List;

import com.project.daoImpl.ProjectDaoImpl;
import com.project.entity.ProjectInfo;
import com.project.service.ProjectInfoService;
import com.project.service.Impl.ProjectInfoServiceImpl;

public class TextZeng {
	public static void main(String[] args) {
		ProjectInfoService impl = new ProjectInfoServiceImpl();
		ProjectInfo e = new ProjectInfo();
		e.setProjectName("测试标题2");
		e.setStartDate("2018-06-30");
		e.setEndDate("2018-07-21");
		e.setStatus(1);
		impl.zeng(e);
		//查询全部
		List<ProjectInfo> pros = impl.query();
		for(ProjectInfo pro:pros) {
			System.out.println(pro);
		}
	
	}

}
